package com.lanou.springbootoracle.mapper;

import com.lanou.springbootoracle.pojo.Dept;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@Mapper
public interface DeptMapper {
    public List<Dept> findAll();

    public Dept findById(Integer deptno);

    public int save(Dept dept);

    public int delete(Integer deptno);

    public int update(Dept dept);


}
